package org.example.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component("Aspect1")
@Aspect
public class Aspect1
{
    @Before("bean(*Service)")
    public void firstbefore()
    {
        System.out.println("firstBefore()");
    }


}
